<div class="col-md-8 col-sm-8">
	<div class="panel panel-primary">
		<div class="panel-heading">
		  <h3 class="panel-title">Hồ sơ đã nộp</h3>
		</div>
		<div class="panel-body">
		<p><a class="btn btn-default" href="<?=site_url('tai-khoan')?>" title="Quay lại">Quay lại</a></p>
		<?php if($hoso):?>
		<?php $i = 0;$j = 0;$k = 0;$ul = false;
			foreach($hoso as $obj): $i++;
				if($obj->ttd_id != $k){
					if($ul) echo '</ul>';
					$ul = true;
					$k = $obj->ttd_id;$j++;$i = 1;
			?>
				<p><strong><?=$j. '. '.$obj->tieu_de?></strong></p>
				<ul class="hoso-list">
			<?php }else{$ul = false;};?>
				<li>
					<a class="img-thumbnail" href="<?=site_url('pg-pb-model/'.remove_accents($obj->ho_ten).'-'.$obj->id)?>" title="<?=$obj->ho_ten?>" target="_blank">
					<?php $img = base_url('assets/img/no_image.png');
						if($obj->avatar)
							$img = base_url('uploads/images/full/'.$obj->avatar);
					?>
						<img src="/assets/timthumb.php?w=142&src=<?=$img?>" alt=""/>
					</a>						
					<a class="hoten" href="<?=site_url('pg-pb-model/'.remove_accents($obj->ho_ten).'-'.$obj->id)?>" title="<?=$obj->ho_ten?>" target="_blank"><?=$obj->ho_ten?></a>					
				</li>				
		<?php endforeach;?>
		<?php echo $this->pagination->create_links(); ?>
	<?php else:?>
		<p><strong>Không có hồ sơ nào.</strong></p>
	<?php endif;?>
		</div>
	</div>
</div>
<div class="col-md-4 col-sm-4">
	<?php $this->load->view('tpl/help')?>
</div>
